package com.ktjy.pojo;

import java.util.Date;

public class TbSpare implements java.io.Serializable{
    private Long id;   //编号
    private String model;   //型号
    private Float price;   //价格
    private Date production;   //出厂日期

    public TbSpare() {
    }

    public TbSpare(Long id, String model, Float price, Date production) {
        this.id = id;
        this.model = model;
        this.price = price;
        this.production = production;
    }

    @Override
    public String toString() {
        return "TbSpare{" +
                "id=" + id +
                ", model='" + model + '\'' +
                ", price=" + price +
                ", production=" + production +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Date getProduction() {
        return production;
    }

    public void setProduction(Date production) {
        this.production = production;
    }
}
